package com.huawei.hms.support.api.entity.sns.internal;

import com.huawei.hms.core.aidl.IMessageEntity;
import com.huawei.hms.core.aidl.annotation.Packed;
import com.huawei.hms.support.api.entity.sns.SnsMsg;
import com.huawei.hms.utils.JsonUtil;

public class SnsSendMsgIntentReq implements IMessageEntity {
    @Packed
    private String callerPackageName;
    @Packed
    private boolean needResult;
    @Packed
    private SnsMsg snsMsg;

    public String getCallerPackageName() {
        return this.callerPackageName;
    }

    public void setCallerPackageName(String str) {
        this.callerPackageName = str;
    }

    public SnsMsg getSnsMsg() {
        return this.snsMsg;
    }

    public void setSnsMsg(SnsMsg snsMsg) {
        this.snsMsg = snsMsg;
    }

    public boolean isNeedResult() {
        return this.needResult;
    }

    public void setNeedResult(boolean z) {
        this.needResult = z;
    }

    public String toJsonString() {
        return JsonUtil.createJsonString(this);
    }
}
